package com.yurun.service;

import com.yurun.entity.Visitor;
import com.yurun.model.dto.VisitLogUuidTime;

import java.util.List;

public interface VisitorService {
    void addVisitor(Visitor visitor);

    void deleteVisitorById(Long id);

    void updatePVAndLastTimeByUUID(VisitLogUuidTime dto);

    int hasUUID(String uuid);

    List<Visitor> getVisitorListByDate(String startDate, String endDate);

    List<String> getNewVisitorIpSourceByYesterDay();
}
